#ifndef QERRORLINE_H
#define QERRORLINE_H

#include "qexppart.h"
#include "qerreur.h"


class __declspec(dllexport) QErrorLine
{
public:
	QErrorLine(QList<QEXPPart*> parts,QErreur* error,QObject* parent);
	QErrorLine(QEXPPart* part,QErreur* error);
	~QErrorLine();

	void addPart(QEXPPart* part);
	QList<QEXPPart*> parts() const;

	QString description() const;
	QStringList designators() const;
	QList<quint32> lines() const;
	quint32 importance() const;
	QString id() const;
	QEXPPart* firstPart() const;
	
private:
  QList<QEXPPart*> m_parts;
  QErreur* m_error;
};

#endif // QERRORLINE_H
